package com.higold.cloud.mvp.model.bean

import com.chad.library.adapter.base.entity.AbstractExpandableItem
import com.chad.library.adapter.base.entity.MultiItemEntity
import com.higold.cloud.ui.adapter.AchievedAdapter
import java.io.Serializable

data class Data(
        val amount: Double,
        val user_code: String,
        val month: Int,
        val rate: Double,
        val user_name: String,
        val mission_amount: Double,
        val detail: ArrayList<AchieveDetail>
) : AbstractExpandableItem<AchieveDetail>(), MultiItemEntity, Serializable {

    override fun getLevel(): Int {
        return AchievedAdapter.TYPE_LEVEL_0
    }

    override fun getItemType(): Int {
        return 0
    }
}